package cn.dubito.springboot.learning.enums;

import lombok.Getter;

/**
 * @author liliang
 * @description:
 * @date 2018/1/10.
 */
@Getter
public enum ProductStatusEnum {
    /**
     * 商品上架
     */
    UP(0, "上架"),
    /**
     * 商品下架
     */
    DOWN(1, "下架");

    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
